package com.zbkj.crmeb.store.response;

import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.annotation.JSONField;
import com.zbkj.crmeb.store.model.StoreProduct;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Accessors(chain = true)
@ApiModel("StoreBannerSetUpResponse对象")
public class StoreBannerSetUpResponse implements Serializable {

    private final static long serialVersionUID = 1L;

    @ApiModelProperty(value = "bannerID")
    private Integer id;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty(value = "跳转类型 1: 商品 2: 模块 3: 品牌")
    private Integer type;

    @ApiModelProperty("banner名称")
    private String bannerName;

    @ApiModelProperty("banner图片")
    private String image;

    @ApiModelProperty(value = "背景图片")
    private String bgImage;

    @JSONField
    @ApiModelProperty(value = "跳转对象 JSON格式")
    private JSONObject jumpObject;

    @ApiModelProperty("已选商品")
    private StoreProduct product;

    @ApiModelProperty("显示状态")
    private Boolean isShow;

}
